<?php
/**
 * Created by IntelliJ IDEA.
 * User: admin
 * Date: 6/2 0002
 * Time: 15:21
 */

namespace app\index\model;


use think\Model;

class Card extends Model
{
    /**
     * 根据商户ID获取会员卡列表
     */
    public function getbymid($merchantid){
        return $this->where("merchantid",$merchantid)->select();
    }
}